<!--
 * @Author: WuFeng <763467339@qq.com>
 * @Date: 2022-04-25 21:18:06
 * @LastEditTime: 2023-03-15 14:42:07
 * @LastEditors: WuFeng <763467339@qq.com>
 * @Description: 首页
 * @FilePath: \vue3-element-plus-web\src\views\Home\index.vue
 * Copyright 版权声明
-->
<template>
  <div class="app-container">
    <span @click="$router.push({name: 'linkInline2'})">外链-内部链接2</span>
    <el-row :gutter="20" class="count-row-box">
      <el-col  :span="6" :xl="6" :lg="6" :md="12" :sm="12" :xs="24">
        <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
          <template #header>
            <div class="card-header">
              <strong>
                总销售额
              </strong>
            </div>
          </template>
          <div class="card-body">

          </div>
        </el-card>
      </el-col>
      <el-col  :span="6" :xl="6" :lg="6" :md="12" :sm="12" :xs="24">
        <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
          <template #header>
            <div class="card-header">
              <strong>
                访问量
              </strong>
            </div>
          </template>
          <div class="card-body">

          </div>
        </el-card>
      </el-col>
      <el-col  :span="6" :xl="6" :lg="6" :md="12" :sm="12" :xs="24">
        <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
          <template #header>
            <div class="card-header">
              <strong>
                支付笔数
              </strong>
            </div>
          </template>
          <div class="card-body">

          </div>
        </el-card>
      </el-col>
      <el-col  :span="6" :xl="6" :lg="6" :md="12" :sm="12" :xs="24">
        <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
          <template #header>
            <div class="card-header">
              <strong>
                线上购物转化率
              </strong>
            </div>
          </template>
          <div class="card-body">

          </div>
        </el-card>
      </el-col>
    </el-row>

    <div class="main-box">
      <div class="main-box_body">
        <el-row :gutter="20">
          <el-col :span="24">
            <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
              <template #header>
                <div class="card-header">
                  <strong>
                    选中的项目
                  </strong>
                </div>
              </template>
              <div class="card-body">

              </div>
            </el-card>
          </el-col>
          <el-col :span="24">
            <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
              <template #header>
                <div class="card-header">
                  <strong>
                    动态
                  </strong>
                </div>
              </template>
              <div class="card-body">

              </div>
            </el-card>
          </el-col>
        </el-row>
      </div>
      <div class="main-box_right">
        <el-row :gutter="20">
          <el-col :span="24">
            <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
              <template #header>
                <div class="card-header">
                  <strong>
                    快速开始 / 便捷导航
                  </strong>
                </div>
              </template>
              <div class="card-body">

              </div>
            </el-card>
          </el-col>
          <el-col :span="24">
            <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
              <template #header>
                <div class="card-header">
                  <strong>
                    XX 指数
                  </strong>
                </div>
              </template>
              <div class="card-body">

              </div>
            </el-card>
          </el-col>
          <el-col :span="24">
            <el-card class="box-card" :body-style="{ padding: '10px 20px' }" shadow="never">
              <template #header>
                <div class="card-header">
                  <strong>
                    团队
                  </strong>
                </div>
              </template>
              <div class="card-body">

              </div>
            </el-card>
          </el-col>
        </el-row>
      </div>
    </div>

    1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>

  </div>
</template>

<script>

export default {
  name: 'Home',
  components: {
  },
  computed: {
  },
  data() {
    return {
    }
  },
  created() {
  },
  methods: {
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.app-container{
  :deep(.el-card__header){
    padding: 10px 20px;
  }
  .count-row-box{
    :deep(.el-col){
      margin-bottom: 20px;
    }
  }
  .main-box{
    display: flex;
    &_right{
      width: 380px;
      margin-left: 20px;
    }
    &_body{
      flex: 1;
    }
    .el-col{
      margin-bottom: 20px;
    }
  }
}
@media screen and (max-width: 1200px) {
  .app-container{
    .main-box{
      display: block;
      &_right{
        width: 100%;
        margin-left: 0;
      }
      &_body{
        width: 100%;
      }
    }
  }
}
</style>
